From: Richard M. Stallman Date: Wed, 26 May 1993 20:34:20 +0000 (+0000) Subject: (x_wm_set_size_hint): Don't set hints for max size. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~95925 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=f7f794916dabcc80f77a37380bb04c8aba9c8614;p=emacs.git (x_wm_set_size_hint): Don't set hints for max size. --- diff --git a/src/xterm.c b/src/xterm.c index 6959d904e4c..7c6fee06912 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -4493,7 +4493,7 @@ x_wm_set_size_hint (f, prompting) XSizeHints size_hints; Window window = FRAME_X_WINDOW (f); - size_hints.flags = PResizeInc | PMinSize | PMaxSize; + size_hints.flags = PResizeInc | PMinSize /* | PMaxSize */; flexlines = f->height; @@ -4503,9 +4503,10 @@ x_wm_set_size_hint (f, prompting) size_hints.width = PIXEL_WIDTH (f); size_hints.width_inc = FONT_WIDTH (f->display.x->font); size_hints.height_inc = FONT_HEIGHT (f->display.x->font); +#if 0 size_hints.max_width = x_screen_width - CHAR_TO_PIXEL_WIDTH (f, 0); size_hints.max_height = x_screen_height - CHAR_TO_PIXEL_HEIGHT (f, 0); - +#endif { int base_width, base_height;